/**
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.gitee.huangjianbo.supos.openapi.core.http;

/**
 * @author tomcat
 * @version 1.0
 */
public final class HttpHeaders {

    private HttpHeaders() {

    }

    /**
     * 标准头
     */
    public static final String ACCEPT_CHARSET = "Accept-Charset";
    public static final String ACCEPT_ENCODING = "Accept-Encoding";
    public static final String ACCEPT_LANGUAGE = "Accept-Language";
    public static final String AUTHORIZATION = "Authorization";
    public static final String CONTENT_ENCODING = "Content-Encoding";
    public static final String CONTENT_DISPOSITION = "Content-Disposition";
    public static final String CONTENT_LANGUAGE = "Content-Language";
    public static final String CONTENT_LENGTH = "Content-Length";
    public static final String CONTENT_LOCATION = "Content-Location";
    public static final String CONTENT_TYPE = "Content-Type";
    public static final String DATE = "Date";
    public static final String LOCATION = "Location";
    public static final String SET_COOKIE = "Set-Cookie";
    public static final String USER_AGENT = "User-Agent";
    public static final String BOUNDARY = "boundary";
    public static final String BOUNDARY_PREFIX = "----WebKitFormBoundary";
    public static final char[] BOUNDARY_CHARS = "1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray();
    /**
     * 扩展头
     */
    public static final String X_TENANT_ID = "X-Tenant-Id";
    public static final String X_TRACE_ID = "X-Trace-Id";
    public static final String X_SERVICE_IP = "X-Service-Ip";
    public static final String X_SERVICE_ID = "X-Service-Id";
    public static final String X_SERVICE_NAME = "X-Service-Name";
    public static final String X_MC = "X-MC-";
    public static final String X_MC_DATE = X_MC + "Date";
}
